package com.allen.base.widget.tab;

import android.view.View;
import android.widget.TextView;

public class IndicatorScrollData {

    public View oldTagView;
    public View newTagView;
    public int currentTabIndex;

    public float mCurrentPositionOffset;

    public TextView tvOld;
    public TextView tvNew;

    public boolean isNoScroll = false;

    public void set(View oldTagView, View newTagView, int currentTabIndex, float mCurrentPositionOffset
            , TextView tvOld, TextView tvNew
    ) {
        this.oldTagView = oldTagView;
        this.newTagView = newTagView;
        this.currentTabIndex = currentTabIndex;
        this.mCurrentPositionOffset = mCurrentPositionOffset;
        this.tvOld = tvOld;
        this.tvNew = tvNew;
        this.isNoScroll = false;
    }

    public void enableNoScroll() {
        this.isNoScroll = true;
    }
}
